/**
 * 作者: ${author}
 * 描述: ${cfg.describe}
 * 更新时间: ${date}
 * 版本: 1.0.0
 */
export class ${cfg.name?cap_first}Req {
<#list table.fields as field>
  /**
   * ${field.comment}
   */
  public ${field.propertyName}: any;
</#list>

  constructor(data: any = {}) {
<#list table.fields as field>
    this.${field.propertyName} = data.${field.propertyName};
</#list>
  }
}

/**
 * 作者: ${author}
 * 描述: ${cfg.describe}，返回参数对象
 */
export class ${cfg.name?cap_first}Res {
<#list table.fields as field>
  /**
   * ${field.comment}
   */
  public ${field.propertyName}: any;
</#list>

  constructor(data: any = {}) {
<#list table.fields as field>
    this.${field.propertyName} = data.${field.propertyName};
</#list>
  }
}
